<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:c="http://java.sun.com/jsp/jstl/core" version="2.0">
	<jsp:directive.page contentType="text/html; charset=UTF-8"
		pageEncoding="UTF-8" session="false" />
	<jsp:output doctype-root-element="html"
		doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
		doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
		omit-xml-declaration="true" />
	<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<jsp:include page="../public/jsp/headerScript.jsp" />
<title>Index</title>
</head>
<body>
	<jsp:include page="../public/jsp/header_nav.jsp" />
	<div id="content">
		<div id="featured-wrap">
			<article id="featured" class="clearfix">
				<div class="content-margin">
					<h1>User Profile</h1>
				</div>
			</article>
		</div>
		<div id="featured-wrap">
			<article id="featured" class="clearfix">
				<div class="content-margin">
					<form action="Profile" method="post">
						<table>
							<tr>
								<td><label>Username:</label></td>
								<td><div class="textbox">${username}</div></td>
							</tr>
							<tr>
								<td><label>Firstname:</label></td>
								<td><input type="text" name="firstname"
									value="${firstname}" /></td>
							</tr>
							<tr>
								<td><label>Lastname:</label></td>
								<td><input type="text" name="lastname" value="${lastname}" />
								</td>
							</tr>
							<tr>
								<td><label>Email:</label></td>
								<td><div class="textbox">${email}</div></td>
							</tr>
							<tr>
								<td><lable></lable>
								</td>
								<td><input type="submit" name="profilesubmit"
									value="UPDATE" />
								</td>
							</tr>
							<c:if test="${not empty error }">
								<tr>
									<td colspan="2">
										<div class="error">${error}</div></td>
								</tr>
							</c:if>
						</table>
					</form>
				</div>
			</article>
		</div>
	</div>
	<jsp:include page="../public/jsp/footer_nav.jsp" />
</body>
	</html>
</jsp:root>